package com.coldchain.admin.config.service;

import com.coldchain.common.vo.CarTypeVo;
import com.coldchain.admin.config.entity.CarType;
import com.coldchain.common.exception.base.BusinessException;
import com.fangliai.core.base.service.IBaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 车型 服务类
 * </p>
 *
 * @author fangliai
 * @since 2018-09-13
 */
public interface ICarTypeService extends IBaseService<CarType> {

    List<CarTypeVo> getAllCarType();

    CarTypeVo getCarTypeVoInfoById(@Param("id") Integer id);

    void addCarType(String params)throws BusinessException;
}
